Faster Small-Constant-Periodic Merging Networks
نویسنده
چکیده
We consider the problem of merging two sorted sequences on a comparator network that is used repeatedly, that is, if the output is not sorted, the network is applied again using the output as input. The challenging task is to construct such networks of small depth (called a period in this context). In our previous paper Faster 3-Periodic Merging Network we reduced twice the time of merging on 3periodic networks, i.e. from 12log N to 6log N, compared to the first construction given by Kutyłowski, Loryś and Oesterdikhoff. Note that merging on 2-periodic networks require linear time. In this paper we extend our construction, which is based on Canfield and Williamson (logN)-periodic sorter, and the analysis from that paper to any period p ≥ 4. For p ≥ 4 our p-periodic network merges two sorted sequences of length N/2 in at most 2p p−2 logN + p p−8 p−2 rounds. The previous bound given by Kutyłowski at al. was 2.25p p−2.42 logN. That means, for example, that our 4-periodic merging networks work in time upper-bounded by 4logN and our 6-periodic ones in time upper-bounded by 3log N compared to the corresponding 5.67log N and 3.8logN previous bounds. Our construction is regular and follows the same periodification schema, whereas some additional techniques were used previously to tune the construction for p ≥ 4. Moreover, our networks are also periodic sorters and tests on random permutations show that average sorting time is closed to log2 N.
منابع مشابه
Faster 3-Periodic Merging Networks
We consider the problem of merging two sorted sequences on a comparator network that is used repeatedly, that is, if the output is not sorted, the network is applied again using the output as input. The challenging task is to construct such networks of small depth. The first constructions of merging networks with a constant period were given by Kutyłowski, Loryś and Oesterdikhoff [7]. They have...
متن کاملPeriodic comparator networks
We survey recent results on periodic algorithms. We focus on the problems of sorting, merging and permuting and concentrate on algorithms that have small constant periods.
متن کاملهمگامسازی در مدل کوراموتو با نیروی وابسته به زمان در شبکههای پیچیده
In this paper, a generalization of the Kuramoto model is introduced by explicit consideration of deterministically time-varying periodic external force. In this model, the oscillator's natural frequencies and amplitude of collective oscillations are influenced by external forces with constant or random strengths. Then, the synchronization behavior of forced Kuramoto model is studied in some com...
متن کاملCommunity Detection using a New Node Scoring and Synchronous Label Updating of Boundary Nodes in Social Networks
Community structure is vital to discover the important structures and potential property of complex networks. In recent years, the increasing quality of local community detection approaches has become a hot spot in the study of complex network due to the advantages of linear time complexity and applicable for large-scale networks. However, there are many shortcomings in these methods such as in...
متن کاملPeriodic Sorting
Let and be a partition of f1; : : : ; ng into two blocks. A merging network is a network of comparators which allows as input arbitrary real numbers and has the property that, whenever the input sequence x 1 ; x 2 ; : : : ; x n is such that the subse-quence in the positions and the subsequence in the positions are each sorted, the output sequence will be sorted. We study the class of \recursive...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1409.1749 شماره
صفحات -
تاریخ انتشار 2014